
"""
  mac计算机
"""

import Computer as comp
class ComputerWin(comp.Computer):
    #支持游戏类型
    support_game_type = ["1" ,"2", "3" , "4" , "5"]

    # 打游戏
    def game(self, game_type):
        if(list(ComputerWin.support_game_type).__contains__(game_type)):
            print(f"正在打游戏:{game_type}")
            return
        print(f"mac品牌不支持此类{game_type}游戏,只支持游戏列{ComputerWin.support_game_type}")